/************************************************************************************
**                                                                                 **
**                               mcHF QRP Transceiver                              **
**                             K Atanassov - M0NKA 2014                            **
**                                                                                 **
**---------------------------------------------------------------------------------**
**                                                                                 **
**  File name:                                                                     **
**  Description:                                                                   **
**  Last Modified:                                                                 **
**  Licence:		For radio amateurs experimentation, non-commercial use only!   **
************************************************************************************/

#ifndef __I_RX_FILTER_3K6_H
#define __I_RX_FILTER_3K6_H

#define I_BLOCK_SIZE		1
#define I_NUM_TAPS			89

/*
 	 * Hilbert 0 Degree, "Phase-added" bandpass filter
     * Kaiser Window FIR Filter, Beta = 5.00, Raised Cosine = 0.90
     * Fc = 1.97 kHz
     * BW = 3.74 kHz
     * 89 Taps
     *
     * 20141203 by KA7OEI using Iowa Hills Hilbert Filter Designer
     *
     * This filter used in the "3.6 kHz" and narrower RX filter position of the mcHF
*/

const float i_rx_3k6_coeffs[I_NUM_TAPS] =
{
		-0.000181752008817777,
		-0.00019812444299558,
		-0.000173915580313638,
		-0.000106975730010085,
		-0.0000174463735378,
		 0.000049667546759971,
		 0.000032561004630231,
		-0.000127681493947272,
		-0.000459708207577463,
		-0.000935771201527816,
		-0.00145865712043841,
		-0.00187227346724911,
		-0.00200036401889901,
		-0.00170780689629204,
		-0.000967958368014592,
		 0.000088289293095689,
		 0.001166623215145986,
		 0.001862531622450524,
		 0.001771946721352388,
		 0.000635741675713185,
		-0.00152451719575799,
		-0.00433057882661493,
		-0.00707443210838268,
		-0.00886614749018614,
		-0.00888315684570901,
		-0.00666207782636225,
		-0.0023460199801576,
		 0.003204723474564544,
		 0.008506335530971061,
		 0.011765956147501436,
		 0.011367103182967093,
		 0.006413424630698947,
		-0.00282047953175066,
		-0.0146812039524101,
		-0.0262751422843746,
		-0.0339730971952901,
		-0.0341994964523126,
		-0.0243347165617545,
		-0.00350726050818481,
		 0.026942155121425213,
		 0.063476622132557281,
		 0.100898465799951861,
		 0.133312097666693830,
		 0.155307720769003010,
		 0.163093615613067344,
		 0.155307720769004343,
		 0.133312097666696161,
		 0.100898465799954873,
		 0.063476622132560459,
		 0.026942155121428071,
		-0.00350726050818265,
		-0.0243347165617533,
		-0.0341994964523123,
		-0.0339730971952905,
		-0.0262751422843754,
		-0.0146812039524111,
		-0.00282047953175152,
		 0.006413424630698421,
		 0.011367103182966964,
		 0.011765956147501661,
		 0.008506335530971517,
		 0.003204723474565072,
		-0.00234601998015715,
		-0.00666207782636198,
		-0.00888315684570896,
		-0.00886614749018627,
		-0.00707443210838294,
		-0.00433057882661522,
		-0.00152451719575822,
		 0.000635741675713052,
		 0.001771946721352369,
		 0.001862531622450603,
		 0.001166623215146122,
		 0.000088289293095838,
		-0.00096795836801447,
		-0.00170780689629197,
		-0.002000364018899,
		-0.00187227346724914,
		-0.00145865712043846,
		-0.000935771201527874,
		-0.000459708207577509,
		-0.000127681493947298,
		 0.000032561004630225,
		 0.000049667546759980,
		-0.000017446373537785,
		-0.00010697573001007,
		-0.000173915580313629,
		-0.000198124442995578,
		-0.000181752
};

/*
static float32_t 		FirState_I[128];
arm_fir_instance_f32 	FIR_I;
*/
#endif
